package com.xiaoyu.lanling.event.user

import `in`.srain.cube.request.JsonData
import com.xiaoyu.base.event.BaseJsonEvent
import com.xiaoyu.base.utils.ListUtil
import com.xiaoyu.lanling.feature.user.model.FeedImageItem

class UserMomentViewEvent(requestTag: Any, jsonData: JsonData) : BaseJsonEvent(requestTag, jsonData) {

    val list = ListUtil.convertToList(jsonData.optJson("data").asList<String>()) {
        FeedImageItem(it)
    }
}